package com.htgd.gardenexpo.entity;

import net.bytebuddy.agent.builder.AgentBuilder;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 组织表(GeBaseOrg)实体类
 *
 * @author makejava
 * @since 2021-05-31 13:45:19
 */
public class GeBaseOrg implements Serializable {
    private static final long serialVersionUID = -45150183736691639L;
    /**
     * 组织机构主键
     */
    private Integer orgId;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 组织机构名称
     */
    private String orgName;
    /**
     * 父组织id
     */
    private Integer parentOrgId;
    /**
     * 0：正常； 1：删除
     */
    private Integer delFlag;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 最近更新时间
     */
    private Date updateTime;
    /**
     * 组织层级
     */
    private Integer orgLevel;
    /**
     * 组织路径
     */
    private String orgPath;
    /**
     * 组织描述
     */
    private String orgDesc;

    private List<GeBaseOrg> children;


    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Integer getParentOrgId() {
        return parentOrgId;
    }

    public void setParentOrgId(Integer parentOrgId) {
        this.parentOrgId = parentOrgId;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getOrgLevel() {
        return orgLevel;
    }

    public void setOrgLevel(Integer orgLevel) {
        this.orgLevel = orgLevel;
    }

    public String getOrgPath() {
        return orgPath;
    }

    public void setOrgPath(String orgPath) {
        this.orgPath = orgPath;
    }

    public String getOrgDesc() {
        return orgDesc;
    }

    public void setOrgDesc(String orgDesc) {
        this.orgDesc = orgDesc;
    }

    public List<GeBaseOrg> getChildren() {
        return children;
    }

    public void setChildren(List<GeBaseOrg> children) {
        this.children = children;
    }
}
